package cn.lr.demo;

public class ContainsDuplicate {
	/*
	 * Given an array of integers, find if the array contains any duplicates. 
	 * Your function should return true if any value appears at least twice in the array, 
	 * and it should return false if every element is distinct.
	 */
	public boolean containsDuplicate(int[] nums) {
		boolean flag = false;
		int len = nums.length;
		if(len>1){
			for(int i=0;i<len;i++){
				
			}
		}else{
			flag = false;
		}
		return flag;
    }

}
